package com.neusoft.mapper;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.neusoft.entity.Book;
import com.neusoft.entity.BookExample;

public interface BookMapper {
	int countByExample(BookExample example);

	int deleteByExample(BookExample example);

	int deleteByPrimaryKey(Integer bId);

	int insert(Book record);

	int insertSelective(Book record);

	List<Book> selectByExample(BookExample example);

	Book selectByPrimaryKey(Integer bId);

	int updateByExampleSelective(@Param("record") Book record, @Param("example") BookExample example);

	int updateByExample(@Param("record") Book record, @Param("example") BookExample example);

	int updateByPrimaryKeySelective(Book record);

	int updateByPrimaryKey(Book record);
}